package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.order.OrderStatisticsDto;
import com.atguigu.spzx.model.entity.order.OrderStatistics;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface OrderStatisticsMapper {
    void insertOrderStatistics(OrderStatistics orderStatistics);

    List<OrderStatistics> selectOrderStatisticsData(OrderStatisticsDto timeRange);
}
